#if !defined(AFX_BCBERGSCOREPAGE_H__AC3FD4AA_BD95_499C_BED1_40A8346BE677__INCLUDED_)
#define AFX_BCBERGSCOREPAGE_H__AC3FD4AA_BD95_499C_BED1_40A8346BE677__INCLUDED_

#include "ScrollPage.h"
#include "../Common/LinkEdit.h"
#include "../Common/LinkComboBox.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// bcbergscorepage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CBCBergScorePage dialog

class CBCBergScorePage : public CScrollPage
{
// Construction
public:
	CBCBergScorePage(CWnd* pParent = NULL, BOOL bBigRes = TRUE);   // standard constructor

	static BOOL		ScoreFieldsCheck(LPVOID pParam);
	enum { BODYCHECKSCALEID = 2 };
	enum { INPUT_EDIT_CTRL_COUNT = 15};

	virtual int		SaveData(CString strMRN, int nDiagSN, BOOL bIsDraft);
	virtual BOOL	ShowTableData(CString strMRN, int nDiagSN);
	virtual BOOL	ClearData();
	virtual BOOL	EnableInputControls(BOOL bEnable);
	virtual BOOL	IsPageCurDayBlank();

	BOOL			ShowTableDataWithStartCol(CString strMRN, int nDiagSN, int nStartCol);
	BOOL			SetLastColTitile(CString strDate, int nDiagSN);
	
// Dialog Data
	//{{AFX_DATA(CBCBergScorePage)
	enum { IDD = IDD_BODYCHECK_PAGE_BERG_SCORE, SD_IDD = IDD_BODYCHECK_PAGE_BERG_SCORE_SD };
	CLinkEdit	m_edtBerg101;
	CLinkEdit	m_edtBerg102;
	CLinkEdit	m_edtBerg103;
	CLinkEdit	m_edtBerg104;
	CLinkEdit	m_edtBerg105;
	CLinkEdit	m_edtBerg106;
	CLinkEdit	m_edtBerg107;
	CLinkEdit	m_edtBerg108;
	CLinkEdit	m_edtBerg109;
	CLinkEdit	m_edtBerg110;
	CLinkEdit	m_edtBerg111;
	CLinkEdit	m_edtBerg112;
	CLinkEdit	m_edtBerg113;
	CLinkEdit	m_edtBerg114;
	CLinkEdit	m_edtBerg115;

	CLinkEdit	m_edtBerg201;
	CLinkEdit	m_edtBerg202;
	CLinkEdit	m_edtBerg203;
	CLinkEdit	m_edtBerg204;
	CLinkEdit	m_edtBerg205;
	CLinkEdit	m_edtBerg206;
	CLinkEdit	m_edtBerg207;
	CLinkEdit	m_edtBerg208;
	CLinkEdit	m_edtBerg209;
	CLinkEdit	m_edtBerg210;
	CLinkEdit	m_edtBerg211;
	CLinkEdit	m_edtBerg212;
	CLinkEdit	m_edtBerg213;
	CLinkEdit	m_edtBerg214;
	CLinkEdit	m_edtBerg215;

	CLinkComboBox	m_edtBerg301;
	CLinkComboBox	m_edtBerg302;
	CLinkComboBox	m_edtBerg303;
	CLinkComboBox	m_edtBerg304;
	CLinkComboBox	m_edtBerg305;
	CLinkComboBox	m_edtBerg306;
	CLinkComboBox	m_edtBerg307;
	CLinkComboBox	m_edtBerg308;
	CLinkComboBox	m_edtBerg309;
	CLinkComboBox	m_edtBerg310;
	CLinkComboBox	m_edtBerg311;
	CLinkComboBox	m_edtBerg312;
	CLinkComboBox	m_edtBerg313;
	CLinkComboBox	m_edtBerg314;
	CLinkEdit	m_edtBerg315;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBCBergScorePage)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBCBergScorePage)
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	INPUT_FIELD_INFO			m_InputFieldArray1[INPUT_EDIT_CTRL_COUNT];
	INPUT_FIELD_INFO			m_InputFieldArray2[INPUT_EDIT_CTRL_COUNT];
	INPUT_FIELD_INFO			m_InputFieldArray3[INPUT_EDIT_CTRL_COUNT];

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BCBERGSCOREPAGE_H__AC3FD4AA_BD95_499C_BED1_40A8346BE677__INCLUDED_)
